page {
    background-color: #22262D;
    height: 100vh;
}

.head {
    margin-top: 5px;
    width: 100%;
    height: 44px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;

    .city {
        width: 15%;
        color: #fff;
        line-height: 44px;
        margin-left: 15px;
    }

    .search {
        width: 70%;
        height: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        background-color: #33363d;
        border-radius: 26px;

        image {
            padding-left: 20px;
            width: 22px;
            height: 22px;
        }

        input {
            margin-left: 10px;
            height: 44px;
            line-height: 44px;
        }
    }

    .icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
}

.banner {
    position: relative;
    height: 165px;
    margin-top: 10px;
    width: 100%;

    .swiper {
        width: 90%;
        height: 100%;
        margin: 0 auto;

        swiper {
            border-radius: 50%;

            swiper-item {
                width: 100%;
                height: 150px;
                margin: 0 auto;

                image {
                    width: 100%;
                    height: 100%;
                    margin: 0 auto;
                }
            }
        }

        // swiper .wx-swiper-dots{
        //     position: relative;
        // }
        .square-dot .wx-swiper-dot {
            // position: absolute;
            // top: 160px;
            background-color: #fff;
            opacity: 0.4;
            width: 10rpx;
            height: 10rpx;
            border-radius: 20rpx;
            margin: 0 8rpx !important;
        }

        .square-dot .wx-swiper-dot.wx-swiper-dot-active {
            opacity: 1;
            width: 30rpx;
        }
    }
}

.hot {
    margin-top: 10px;
    width: 90%;
    margin: 0 auto;
    display: block;

    .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 8px auto;

        .left {
            color: #dfdfdf;
            display: flex;
            align-items: center;

            .line {
                display: block;
                margin: 5px;
                width: 4px;
                height: 17px;
                transform: rotate(-180deg);
                background-image: linear-gradient(90deg, #F26182 5%, #F1A064 100%);
            }
        }

        .right {
            color: #dfdfdf;
            display: flex;
            align-items: center;
            font-size: 10px;

            image {
                margin-left: 4px;
                width: 6px;
                height: 10px;
            }
        }
    }

    .content {
        overflow: auto;
        width: 340px;
        display: flex;
        flex-wrap: nowrap;

        .item {
            width: 87px;
            margin-right: 14px;

            image {
                width: 87px;
                height: 144px;
            }

            .name {
                color: #DFDFDF;
                font-size: 12px;
                margin: 8px auto;
                text-align: left;
            }

            .buy {
                width: 40px;
                height: 20px;
                border: 1px 6px;
                background: linear-gradient(150deg, #f25b86 0%, #f1ac5e 100%);
                color: #DFDFDF;
                border-radius: 20px;
                text-align: center;
                line-height: 20px;
            }
        }
    }
}

.coming {
    padding-top: 15px;
    width: 90%;
    margin: 0 auto;
    display: block;

    .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 8px auto;

        .left {
            color: #dfdfdf;
            display: flex;
            align-items: center;

            .line {
                display: block;
                margin: 5px;
                width: 4px;
                height: 17px;
                transform: rotate(-180deg);
                background-image: linear-gradient(90deg, #F26182 5%, #F1A064 100%);
            }
        }

        .right {
            color: #dfdfdf;
            display: flex;
            align-items: center;
            font-size: 10px;

            image {
                margin-left: 4px;
                width: 6px;
                height: 10px;
            }
        }
    }

    .content {
        overflow: auto;
        width: 340px;
        display: flex;
        flex-wrap: nowrap;

        .item {
            width: 87px;
            margin-right: 14px;

            image {
                width: 87px;
                height: 144px;
            }

            .name {
                color: #DFDFDF;
                font-size: 12px;
                margin: 8px auto;
                text-align: left;
            }

            .date {
                font-size: 10px;
                color: #DFDFDF;
            }
        }
    }
}

.pre {
    padding-top: 15px;
    width: 90%;
    margin: 0 auto;
    display: block;

    .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 8px auto;

        .left {
            color: #dfdfdf;
            display: flex;
            align-items: center;

            .line {
                display: block;
                margin: 5px;
                width: 4px;
                height: 17px;
                transform: rotate(-180deg);
                background-image: linear-gradient(90deg, #F26182 5%, #F1A064 100%);
            }
        }

        .right {
            color: #dfdfdf;
            display: flex;
            align-items: center;
            font-size: 10px;

            image {
                margin-left: 4px;
                width: 6px;
                height: 10px;
            }
        }
    }
    .content{
        overflow: auto;
        width: 340px;
        display: flex;
        flex-wrap: nowrap;
        .item{
            margin-right: 40px;
            width: 276px;
            height: 170px;
            image{
                width: 276px;
                height: 170px;
            }
        }
    }
}